/*
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:latlong/latlong.dart';

class GMapHelper {
  //谷歌影像底图
  static LayerOptions TileGooleMap() {
    return TileLayerOptions(
      urlTemplate:
          "http://mt2.google.cn/vt/lyrs=y@167000000&hl=zh-CN&gl=cn&x={x}&y={y}&z={z}&s=Galil ",
    );
  }

  static List<LayerOptions> NewLayerList(){
      return new List<LayerOptions>();
  }
 static LayerOptions MyLocation(LatLng location){
      return MarkerLayer(location, Icons.my_location, Colors.blue);
 }

  static LayerOptions MarkerLayer(LatLng location, IconData icon, Color color) {
   return new MarkerLayerOptions(markers: [
      new Marker(
        width: 36.0,
        height: 36.0,
        point: location,
        builder: (ctx) => new Container(
              child: Center(
                child: Icon(
                  icon,
                  color: color,
                  size: 24.0,
                ),
              ),
              // child: Text(location.toString(),style: TextStyle(color: Colors.white),),
            ),

      )
    ]);
  }

  static LayerOptions PolylineLayer(
      List<LatLng> points, double lineWidth, Color color) {
  return  new PolylineLayerOptions(
      polylines: [
        new Polyline(points: points, strokeWidth: lineWidth, color: color),
      ],
    );
  }

  static LayerOptions PolygonLayer(
      List<LatLng> points, double lineWidth, Color color) {
  return  new PolygonLayerOptions(
      polygons: [
        new Polygon(points: points, color: color),
      ],
    );
  }
}

*/